import { TJshortcuts } from '@/utils/config'
import i18n from '@/utils/i18n'
export const formItems = [
  {
    filed: 'orderId',
    type: 'input',
    label: i18n.t('message.ddh')
  },
  {
    filed: 'dates',
    type: 'daterange',
    clearable: true,
    pickerOptions: {
      shortcuts: TJshortcuts
    }
  },
  {
    filed: 'payMethod',
    type: 'select',
    label: i18n.t('message.tkfs'),
    options: []
  },
  {
    filed: 'orderType',
    type: 'select',
    label: i18n.t('message.ywlx'),
    options: []
  },
  {
    filed: 'userName',
    type: 'input',
    label: i18n.t('message.czrxm')
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}
